package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-20
 */
@Getter
@Setter
@TableName("tb_gpa_check")
@ApiModel(value = "TbGpaCheck对象", description = "")
public class TbGpaCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("当前状态，0表示被拒绝")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("成绩绩点")
    @TableField("score_gpa")
    private Double scoreGpa;

    @ApiModelProperty("年份")
    @TableField("year")
    private String year;

    @ApiModelProperty("是否通过(有无挂科)，false为有挂科，true为无挂科")
    @TableField("pass")
    private Byte pass;

    @ApiModelProperty("总绩点")
    @TableField("gpa_sum")
    private Double gpaSum;

    @ApiModelProperty("素质加分")
    @TableField("gpa_quality")
    private Double gpaQuality;

    @ApiModelProperty("拒绝理由")
    @TableField("refuse")
    private String refuse;

    @ApiModelProperty("学生id")
    @TableField("stu_id")
    private Long stuId;

    @ApiModelProperty("是否完成审核")
    @TableField("finish_check")
    private Boolean finishCheck;
}
